package com.mlz.mlzmall.bean;

import java.util.List;

/**
 * Created by jason.zhou on 2016/1/19.
 */
public class GetPointHistoryResponse {
    public int status;
    public ErrorBean errors;
    public String msg;
    public PageableDto data;

    public PageableDto getData() {
        return data;
    }

    public void setData(PageableDto data) {
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class PageableDto {
        public int total;
        public int pageNum;
        public int size;
        public int pages;

        public List<PointHistoryDto> getList() {
            return list;
        }

        public void setList(List<PointHistoryDto> list) {
            this.list = list;
        }

        public List<PointHistoryDto> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }


        public static class PointHistoryDto {
        public String reason;
        public int pointNum;
        public long dateAdded;
        public long getDateAdded() {
                return dateAdded;
            }

        public void setDateAdded(long dateAdded) {
                this.dateAdded = dateAdded;
            }



            public String getReason() {
                return reason;
            }

            public void setReason(String reason) {
                this.reason = reason;
            }

            public int getPointNum() {
                return pointNum;
            }

            public void setPointNum(int pointNum) {
                this.pointNum = pointNum;
            }

        }
    }
}
